#coding=utf-8  
  
import urllib2
import urllib

def post(url, data): 
    req = urllib2.Request(url) 
    data = urllib.urlencode(data) 
    #enable cookie 
    opener = urllib2.build_opener(urllib2.HTTPCookieProcessor()) 
    response = opener.open(req, data) 
    return response.read() 
   
def main(): 
    posturl = "http://www.uedbet.cc/zh-cn/sportsbook/Default.aspx" 
#     data = {'username':'uedbet7742', 'password':'abcd7742', 'autologin':'1', 'submit':'登 录', 'type':''} 
    data = {}
    print post(posturl, data) 
   
if __name__ == '__main__': 
    main() 